MailjetWp\MailjetPlugin\Includes\MailjetApi D

Total Complexity 133
Dependencies 6
Dependents 15
Total lines 558
Lines of code 458
Logical lines of code 317
Comment lines 57
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
getApiClient()
A
49 12 25
checkContactSubscribedToList()
A
50 11 26
getSubscribersFromList()
S
50 7 28
getProfileName()
S
54 7 20
isContactListActive()
S
53 6 23
isValidAPICredentials()
S
54 6 22
createTemplate()
S
54 6 21
createMailjetSegment()
S
54 6 21
getContactListByID()
S
55 6 20
createMailjetContactProperty()
S
55 5 20
getTemplateDetails()
S
57 5 17
getTemplateByName()
S
56 5 17
createTemplateContent()
S
58 5 16
getPropertyIdByName()
S
60 5 14
getMailjetSenders()
S
56 4 18
syncMailjetContacts()
S
56 4 18
syncMailjetContact()
S
55 4 18
createMailjetContactList()
S
57 4 17
getContactProperties()
S
57 4 17
getMailjetContactLists()
S
57 4 17
getMailjetSegments()
S
58 4 17
sendEmail()
S
58 4 16
isContactInList()
S
59 4 13
getContactDataByEmail()
S
61 4 12
updateContactData()
S
71 1 5